package com.xiaobaibai.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaobaibai
 * @since 2020-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("bargain_recording")
@ApiModel(value="BargainRecording对象", description="")
public class BargainRecording implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "砍价记录表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "对应砍价用户表id")
    @TableField("bargain_user_id")
    private Integer bargainUserId;

    @ApiModelProperty(value = "帮砍用户id")
    @TableField("help_user_id")
    private Integer helpUserId;

    @ApiModelProperty(value = "帮砍用户名字")
    @TableField("help_user_name")
    private String helpUserName;

    @ApiModelProperty(value = "帮砍用户头像")
    @TableField("help_user_image")
    private String helpUserImage;

    @ApiModelProperty(value = "帮砍进度")
    @TableField("help_unit")
    private Double helpUnit;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
